package cn.tedu.tmall.admin.mall.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CategoryAddNewParam implements Serializable {

    @ApiModelProperty(value = "类别名称",required = true,example = "茶叶")
    private String name;

    @ApiModelProperty(value = "父级类别", required = true, example = "0")
    private Long parentId;

    @ApiModelProperty("关键词列表")
    private String keywords;

    @ApiModelProperty(value = "排序序号", required = true, example = "0")
    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty(value = "是否启用", required = true, example = "1")
    private Integer enable;

    @ApiModelProperty(value = "是否显示", required = true, example = "1")
    private Integer isDisplay;
}
